﻿namespace Arms.Domain.Modules.DiningRoom
{
    using System;
    using System.Collections.Generic;
    using System.Data.Entity.Spatial;

    public class DiningRoomFloor : Entity
    {
        public DiningRoomFloor()
        {
            this.Tables = new HashSet<DiningRoomTable>();
        }

        public int DiningRoomLayoutID { get; set; }
        public int Order { get; set; }
        public DbGeometry Geometry { get; set; }

        #region Navigation

        public virtual DiningRoomLayout Layout { get; set; }
        public virtual ICollection<DiningRoomTable> Tables { get; set; }

        #endregion
    }
}
